package com.xjrsoft.module.ureport.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xjrsoft.module.ureport.dto.GetRptFilePageListDto;
import com.xjrsoft.module.ureport.dto.RptRelationDto;
import com.xjrsoft.module.ureport.entity.XjrRptFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2020-12-11
 */
public interface IXjrRptFileService extends IService<XjrRptFile> {

    /**
    * @Author:湘北智造-框架开发组
    * @Date:2020/12/11
    * @Param:[correctName]
    * @return:com.xjrsoft.module.ureport.entity.XjrRptFile
    * @Description:根据名字查询
    */
    XjrRptFile getByName(String correctName);

    /**
    * @Author:湘北智造-框架开发组
    * @Date:2020/12/11
    * @Param:[correctName]
    * @return:void
    * @Description:根据名字删除
    */
    void deleteByName(String correctName);

    /**
    * @Author:湘北智造-框架开发组
    * @Date:2020/12/15
    * @Param:[dto]
    * @return:java.util.List<com.xjrsoft.module.ureport.entity.XjrRptFile>
    * @Description:查询列表数据
    */
    List<XjrRptFile> listAll(GetRptFilePageListDto dto);

    /**
    * @Author:湘北智造-框架开发组
    * @Date:2020/12/15
    * @Param:[dto]
    * @return:boolean
    * @Description:保存报表relation
    */
    boolean saveRptFile(RptRelationDto dto);
}
